package cn.fz.mpdemo.service;

import cn.fz.mpdemo.domain.po.EmpEntity;
import cn.fz.mpdemo.domain.query.EmpQuery;
import cn.fz.mpdemo.domain.request.EmpRequest;
import cn.fz.mpdemo.domain.vo.PageVO;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 员工表 服务类
 * </p>
 *
 * @author gecy
 * @since 2024-07-06 14:24:14
 */
public interface EmpService extends IService<EmpEntity> {

    EmpEntity login(String username, String password);

    PageVO<EmpEntity> queryPage(EmpQuery query);

    List<Map<String, String>> readExcelFile(MultipartFile file);

    void export(EmpQuery query, HttpServletResponse response);

    void saveEmp(EmpRequest request);
}
